package io.gitee.zhangbinhub.acp.cloud.conf

import io.gitee.zhangbinhub.acp.cloud.constant.AcpCloudConstant
import org.noear.solon.annotation.Configuration
import org.noear.solon.annotation.Inject

/**
 * 日志服务服务端配置
 *
 * @since JDK 17
 */
@Inject(value = "\${${AcpCloudConstant.LOG_SERVER_PROPERTIES_PREFIX}}", required = false)
@Configuration
class AcpCloudLogServerConfiguration {
    /**
     * 当前服务是否是日志服务，默认：false
     */
    var enabled = false

    /**
     * 日志消息的topic名称（队列名称），默认："acp_cloud_log_server_message_topic"
     */
    var destination = AcpCloudConstant.LOG_SERVER_DEFAULT_MESSAGE_TOPIC

}
